import request from '@/utils/request'

// 查询融资申请查询列表
export function list(query) {
  return request({
    url: '/financial/installment/list',
    method: 'get',
    params: query
  })
}
// 查询租房申请详情
export function getApplyDetail(id) {
  return request({
    url: '/financial/applyReview/detail/'+id,
    method: 'get',
  })
}
// 查询收房贷申请详情
export function getApplyDetail2(id) {
  return request({
    url: '/financial/applyReview/detail2/'+id,
    method: 'get',
  })
}
// 查询租约保理申请详情
export function getApplyDetail3(id) {
  return request({
    url: '/financial/applyReview/detail3/'+id,
    method: 'get',
  })
}

// 审核
export function review(id,jrProductType,applyState) {
  return request({
    url: '/financial/applyReview/review?id='+id+"&jrProductType="+jrProductType+"&applyState="+applyState,
    method: 'get',
  })
}

